inherited FPesquisaTransferencia: TFPesquisaTransferencia
  Left = 216
  Top = 109
  Caption = 'Pesquisa Transfer'#234'ncia Conta Corrente'
  ClientHeight = 377
  ClientWidth = 486
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 13
  inherited Panel2: TPanel
    Width = 486
    inherited BtnLimpar: TBitBtn
      OnClick = BtnLimparClick
    end
    inherited BtnImprimir: TBitBtn
      OnClick = BtnImprimirClick
    end
    inherited BtnSelecionar: TBitBtn
      OnClick = BtnSelecionarClick
    end
  end
  inherited Panel1: TPanel
    Width = 486
    Height = 336
    object Label10: TLabel [0]
      Left = 2
      Top = 189
      Width = 46
      Height = 13
      Caption = 'Empresas'
    end
    object Label9: TLabel [1]
      Left = 213
      Top = 3
      Width = 91
      Height = 13
      Caption = 'Data Transfer'#234'ncia'
    end
    object Label6: TLabel [2]
      Left = 304
      Top = 22
      Width = 6
      Height = 13
      Caption = 'a'
    end
    object Label8: TLabel [3]
      Left = 213
      Top = 43
      Width = 146
      Height = 13
      Caption = 'Classifica'#231#227'o Financeira Sa'#237'da'
    end
    object Label1: TLabel [4]
      Left = 5
      Top = 81
      Width = 38
      Height = 13
      Caption = 'Esp'#233'cie'
    end
    object Label3: TLabel [5]
      Left = 5
      Top = 43
      Width = 60
      Height = 13
      Caption = 'Conta Sa'#237'da'
    end
    object Label4: TLabel [6]
      Left = 213
      Top = 120
      Width = 154
      Height = 13
      Caption = 'Classifica'#231#227'o Financeira Entrada'
    end
    object Label2: TLabel [7]
      Left = 213
      Top = 81
      Width = 52
      Height = 13
      Caption = 'N'#176' Cheque'
    end
    object Label7: TLabel [8]
      Left = 304
      Top = 81
      Width = 38
      Height = 13
      Caption = 'Nominal'
    end
    object Label12: TLabel [9]
      Left = 213
      Top = 158
      Width = 38
      Height = 13
      Caption = 'Esp'#233'cie'
    end
    object DBText2: TDBText [10]
      Left = 370
      Top = 43
      Width = 65
      Height = 15
      DataField = 'TIPO'
      DataSource = DSPlano1
    end
    object DBText3: TDBText [11]
      Left = 370
      Top = 120
      Width = 65
      Height = 14
      DataField = 'TIPO'
      DataSource = DSPlano2
    end
    object Label5: TLabel [12]
      Left = 5
      Top = 120
      Width = 68
      Height = 13
      Caption = 'Conta Entrada'
    end
    object Label11: TLabel [13]
      Left = 5
      Top = 3
      Width = 33
      Height = 13
      Caption = 'C'#243'digo'
    end
    inherited DBGrid1: TDBGrid
      Top = 246
      Width = 484
      Height = 69
      TabOrder = 13
      Columns = <
        item
          Expanded = False
          FieldName = 'TRANSF_CODIGO'
          Title.Caption = 'Transfer'#234'ncia'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'TRANSF_DATA'
          Title.Caption = 'Data'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'TRANSF_HISTORICO'
          Title.Caption = 'Historico'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'TRANSF_VALOR'
          Title.Caption = 'Valor'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'CONTA1'
          Title.Caption = 'Conta Corrente 1'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'PLANOCONTAS1'
          Title.Caption = 'Classifica'#231#227'o Financeira Sa'#237'da'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'ESPECIE1'
          Title.Caption = 'Especie 1'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'TRANSF_CHEQUE'
          Title.Caption = 'Cheque'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'TRANSF_NOMINAL'
          Title.Caption = 'Nominal'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'CONTA2'
          Title.Caption = 'Conta Corrente 2'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'PLANOCONTAS2'
          Title.Caption = 'Classifica'#231#227'o Financeira Entrada'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'ESPECIE2'
          Title.Caption = 'Especie 2'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'CONTACONTABIL2'
          Title.Caption = 'Conta Contabil 2'
          Visible = True
        end>
    end
    inherited Panel3: TPanel
      Top = 315
      Width = 484
      TabOrder = 14
    end
    object CkBTodasEmpresas: TCheckBox
      Left = 2
      Top = 171
      Width = 118
      Height = 17
      Caption = 'Todas as Empresas'
      TabOrder = 11
      OnClick = CkBTodasEmpresasClick
    end
    object CLBEmpresas: TCheckListBox
      Left = 1
      Top = 206
      Width = 484
      Height = 40
      Align = alBottom
      Columns = 1
      ItemHeight = 13
      TabOrder = 12
    end
    object DEDataIni: TDateEdit
      Left = 213
      Top = 18
      Width = 88
      Height = 21
      NumGlyphs = 2
      TabOrder = 1
    end
    object DEDataFim: TDateEdit
      Left = 312
      Top = 18
      Width = 90
      Height = 21
      NumGlyphs = 2
      TabOrder = 2
    end
    object DBLCBPlano1: TDBLookupComboBox
      Left = 213
      Top = 59
      Width = 265
      Height = 21
      KeyField = 'CODIGO'
      ListField = 'DESCRICAO'
      ListSource = DSPlano1
      TabOrder = 4
    end
    object DBLCBEspecie: TDBLookupComboBox
      Left = 5
      Top = 97
      Width = 204
      Height = 21
      KeyField = 'ESP_CODIGO'
      ListField = 'ESP_DESCRICAO'
      ListSource = DSEspecie
      TabOrder = 5
    end
    object DBLCBConta1: TDBLookupComboBox
      Left = 5
      Top = 59
      Width = 204
      Height = 21
      KeyField = 'CONT_CORR_CODIGO'
      ListField = 'CONT_CORR_DESCRICAO'
      ListSource = DSConta1
      TabOrder = 3
    end
    object DBLCBPlano2: TDBLookupComboBox
      Left = 213
      Top = 136
      Width = 265
      Height = 21
      KeyField = 'CODIGO'
      ListField = 'DESCRICAO'
      ListSource = DSPlano2
      TabOrder = 9
    end
    object DBLCBEspecie2: TDBLookupComboBox
      Left = 213
      Top = 174
      Width = 204
      Height = 21
      KeyField = 'ESP_CODIGO'
      ListField = 'ESP_DESCRICAO'
      ListSource = DSEspecie2
      TabOrder = 10
    end
    object DBLCBConta2: TDBLookupComboBox
      Left = 5
      Top = 136
      Width = 204
      Height = 21
      KeyField = 'CONT_CORR_CODIGO'
      ListField = 'CONT_CORR_DESCRICAO'
      ListSource = DSConta2
      TabOrder = 8
    end
    object ECheque: TEdit
      Left = 213
      Top = 96
      Width = 81
      Height = 21
      MaxLength = 6
      TabOrder = 6
      OnKeyPress = EChequeKeyPress
    end
    object ENominal: TEdit
      Left = 304
      Top = 96
      Width = 169
      Height = 21
      TabOrder = 7
    end
    object ECodigo: TEdit
      Left = 5
      Top = 18
      Width = 121
      Height = 21
      TabOrder = 0
      OnKeyPress = EChequeKeyPress
    end
  end
  inherited QPesquisa: TQuery
    SQL.Strings = (
      'select Transf_Codigo,transf_Data,transf_historico,transf_valor,'
      
        'cont1.cont_corr_descricao as conta1,plan1.descricao as planocont' +
        'as1,'
      'esp1.esp_descricao as Especie1 ,transf_cheque,Transf_Nominal,'
      
        'cont2.cont_corr_descricao as conta2,plan2.descricao as planocont' +
        'as2,'
      'esp2.esp_descricao as Especie2,'
      'PlanoCont_descricao as ContaContabil2'
      ''
      ''
      'from transferencia'
      'left join especie esp1 on transf_especie = esp1.esp_codigo'
      'left join planocontas plan1 on transf_plano1 = plan1.codigo'
      
        'left join contacorrente cont1 on transf_conta1 = cont1.cont_corr' +
        '_codigo'
      'left join especie esp2 on transf_especie2 = esp2.esp_codigo'
      'left join planocontas plan2 on transf_plano2 = plan2.codigo'
      
        'left join contacorrente cont2 on transf_conta2 = cont2.cont_corr' +
        '_codigo'
      
        'left join planocontabilidade  on transf_contacontabil2 = PlanoCo' +
        'nt_Codigo')
    Left = 160
    Top = 241
  end
  inherited DSPesquisa: TDataSource
    Left = 200
    Top = 241
  end
  object DSConta1: TDataSource
    DataSet = DMFinanceiro.QConta
    Left = 118
    Top = 96
  end
  object DSPlano1: TDataSource
    DataSet = DMFinanceiro.QPlanoSaida
    Left = 416
    Top = 96
  end
  object DSPlano2: TDataSource
    DataSet = DMFinanceiro.QPlanoEntrada
    Left = 416
    Top = 176
  end
  object DSConta2: TDataSource
    DataSet = DMFinanceiro.QConta
    Left = 118
    Top = 176
  end
  object DSEspecie2: TDataSource
    DataSet = DMFinanceiro.QEspecie
    Left = 288
    Top = 200
  end
  object DSEspecie: TDataSource
    DataSet = DMFinanceiro.QEspecie
    Left = 118
    Top = 128
  end
end
